package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the DOWNLOADFILES database table.
 * 
 */
@Entity
@Table(name="DOWNLOADFILES")
public class Downloadfile implements Serializable {
	private static final long serialVersionUID = 1L;
	private long filenumber;
	private String descrip;
	private String displayname;
	private String dlnotes;
	private String filepathname;
	private String filetype;
	private String fileurl;
	private String groupname;
	private String isactive;
	private Date lastupdated;
	private BigDecimal mimenumber;
	private String project;

    public Downloadfile() {
    }


	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(unique=true, nullable=false)
	public long getFilenumber() {
		return this.filenumber;
	}

	public void setFilenumber(long filenumber) {
		this.filenumber = filenumber;
	}


	@Column(nullable=false, length=80)
	public String getDescrip() {
		return this.descrip;
	}

	public void setDescrip(String descrip) {
		this.descrip = descrip;
	}


	@Column(length=128)
	public String getDisplayname() {
		return this.displayname;
	}

	public void setDisplayname(String displayname) {
		this.displayname = displayname;
	}


	@Column(length=4000)
	public String getDlnotes() {
		return this.dlnotes;
	}

	public void setDlnotes(String dlnotes) {
		this.dlnotes = dlnotes;
	}


	@Column(nullable=false, length=4000)
	public String getFilepathname() {
		return this.filepathname;
	}

	public void setFilepathname(String filepathname) {
		this.filepathname = filepathname;
	}


	@Column(length=30)
	public String getFiletype() {
		return this.filetype;
	}

	public void setFiletype(String filetype) {
		this.filetype = filetype;
	}


	@Column(length=4000)
	public String getFileurl() {
		return this.fileurl;
	}

	public void setFileurl(String fileurl) {
		this.fileurl = fileurl;
	}


	@Column(nullable=false, length=10)
	public String getGroupname() {
		return this.groupname;
	}

	public void setGroupname(String groupname) {
		this.groupname = groupname;
	}


	@Column(nullable=false, length=1)
	public String getIsactive() {
		return this.isactive;
	}

	public void setIsactive(String isactive) {
		this.isactive = isactive;
	}


    @Temporal( TemporalType.DATE)
	public Date getLastupdated() {
		return this.lastupdated;
	}

	public void setLastupdated(Date lastupdated) {
		this.lastupdated = lastupdated;
	}


	@Column(nullable=false)
	public BigDecimal getMimenumber() {
		return this.mimenumber;
	}

	public void setMimenumber(BigDecimal mimenumber) {
		this.mimenumber = mimenumber;
	}


	@Column(length=10)
	public String getProject() {
		return this.project;
	}

	public void setProject(String project) {
		this.project = project;
	}

}